<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Login</title>
</head>
<body>
    <h1>This is a Login View</h1>
    <form action="/login" method="post">
        账号：<input name="username">
        密码：<input name="password">
        <input type="submit" value="登录">
    </form>
    <p style="color: red" th:text="${session.msg}"></p>
</body>
</html>